const resolve = dir => require('path').join(__dirname, dir)
module.exports = {
  lintOnSave: false,
  chainWebpack: config => {
    config.resolve.alias.set('@', resolve('src')) //为 src 起个别名 @
    config.plugin('html').tap(args => {
        args[0].title = '图书库存管理系统'
        return args
      },
    )
  },
}
